<?php $id = isset($_GET['id']) ? $_GET['id'] : 1; ?>

<div class="TabView" id="TabView">


<!-- ***** Tabs ************************************************************ -->

<div class="Tabs" style="width: 98%;">
  <a <?=($id == 1) ? 'class="Current"' : 'href="tabCTDT.php?id=1"';?>>Hình 360 độ</a>
  <a <?=($id == 2) ? 'class="Current"' : 'href="tabCTDT.php?id=2"';?>>Thông Tin Chi Tiết</a>
  <a <?=($id == 3) ? 'class="Current"' : 'href="tabCTDT.php?id=3"';?>>Ý kiến Khách Hàng</a>
</div>


<!-- ***** Pages *********************************************************** -->

<div class="Pages" style=" width : 98%; ">
  <div class="Page" style="display:  <?=($id == 1) ? 'block' : 'none';?>"><div class="Pad"><?php include ('tab1.php'); ?></div></div>
  <div class="Page" style="display: <?=($id == 2) ? 'block' : 'none';?>"><div class="Pad"><?php include ('tab2.php'); ?></div></div>
  <div class="Page" style="display: <?=($id == 3) ? 'block' : 'none';?>"><div class="Pad"><?php include ('tab3.php'); ?></div></div>
</div>
</div>



<script type="text/javascript" src="js/tab-view.js"></script>
<script type="text/javascript">
tabview_initialize('TabView');
</script>